Cody Russell [Tue, 5 Feb 2008 16:47:24 +0000 (16:47 +0000)]
gdk/win32/gdkprivate-win32.h gdk/win32/gdkevents-win32.c
2008-02-05 Cody Russell <bratsche@gnome.org>
* gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkevents-win32.c
* gdk/win32/gdkwindow-win32.c
* gdk/win32/gdkwindow-win32.h
* gdk/win32/gdkwin32.h:
Modal window rework. (#455627 and #511111)
svn path=/trunk/; revision=19463
Michael Natterer [Mon, 4 Feb 2008 23:01:00 +0000 (23:01 +0000)]
g_return_if_fail() is the cell is not part of the combo instead of
2008-02-04 Michael Natterer <mitch@imendio.com>
* gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
g_return_if_fail() is the cell is not part of the combo instead of
crashing in the next line.
svn path=/trunk/; revision=19462
Yannig MARCHEGAY [Mon, 4 Feb 2008 12:33:35 +0000 (12:33 +0000)]
Updated Occitan translation
svn path=/trunk/; revision=19461
Cody Russell [Fri, 1 Feb 2008 23:25:18 +0000 (23:25 +0000)]
modules/engines/ms-windows/xp_theme.[ch]
2008-02-01 Cody Russell <cody@jhu.edu>
* modules/engines/ms-windows/xp_theme.[ch]
* modules/engines/ms-windows/xp_theme_defs.h
* modules/engines/ms-windows/msw_rc_style.c
* modules/engines/ms-windows/msw_theme_main.c
* modules/engines/ms-windows/msw_style.c: Re-indented and generally
attempted to stylize more like the rest of the gtk+ stack's code.
svn path=/trunk/; revision=19455
Michael Natterer [Fri, 1 Feb 2008 11:20:47 +0000 (11:20 +0000)]
initialize GdkColor structs to fix warning about uninitialized "pixel"
2008-02-01 Michael Natterer <mitch@imendio.com>
* tests/testgtk.c: initialize GdkColor structs to fix warning
about uninitialized "pixel" member.
* tests/testactions.c: connect the toolbar_style() callback so it
does something useful and doesn't warn about being defined but not
used.
svn path=/trunk/; revision=19454
Cody Russell [Thu, 31 Jan 2008 22:40:37 +0000 (22:40 +0000)]
Refactored some of the window hiding/showing code from WM_ACTIVATE to
2008-01-31 Cody Russell <bratsche@gnome.org>
* gdk/win32/gdkevents-win32.c:
Refactored some of the window hiding/showing code from
WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
under WM_ACTIVATE was causing the application to go into
a weird state when the user right-clicked on the taskbar
entry of a window that was minimized. (#505928)
svn path=/trunk/; revision=19451
Cody Russell [Thu, 31 Jan 2008 17:53:06 +0000 (17:53 +0000)]
Change queue_resize() to queue_draw(), and add a check for child2 != NULL
2008-01-31 Cody Russell <bratsche@gnome.org>
* gtk/gtkpaned.c (gtk_paned_set_position):
Change queue_resize() to queue_draw(), and add a check for
child2 != NULL in case someone calls this before there is
a child packed in there. (#144269 again)
svn path=/trunk/; revision=19449
Sven Neumann [Thu, 31 Jan 2008 17:27:54 +0000 (17:27 +0000)]
applied patch from Denis Oliver Kropp <dok@directfb.org>.
2008-01-31 Sven Neumann <sven@gimp.org>
* gdk/directfb/gdkimage-directfb.c
(_gdk_directfb_copy_to_image):
applied patch from Denis Oliver Kropp <dok@directfb.org>.
svn path=/trunk/; revision=19448
Sven Neumann [Thu, 31 Jan 2008 17:25:19 +0000 (17:25 +0000)]
gdk/directfb/gdkdisplay-directfb.c gdk/directfb/gdkdrawable-directfb.c
2008-01-31 Sven Neumann <sven@gimp.org>
* gdk/directfb/gdkdisplay-directfb.c
* gdk/directfb/gdkdrawable-directfb.c
* gdk/directfb/gdkprivate-directfb.h
* gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
svn path=/trunk/; revision=19447
Richard Hult [Thu, 31 Jan 2008 14:05:47 +0000 (14:05 +0000)]
Another attempt at fixing focus issues with undecorated windows. Revert
2008-01-31 Richard Hult <richard@imendio.com>
* gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
issues with undecorated windows. Revert the change done on
2008-01-25 and fix it by using the view's bounds instead. The
bounds will always be up to date when setting up the tracking
rect, so this should be more robust.
svn path=/trunk/; revision=19445
Marcel Telka [Thu, 31 Jan 2008 08:53:47 +0000 (08:53 +0000)]
Updated Slovak translation by Pavol Šimo.
2008-01-31 Marcel Telka <marcel@telka.sk>
* sk.po: Updated Slovak translation by Pavol Šimo.
svn path=/trunk/; revision=19444
Marcel Telka [Thu, 31 Jan 2008 08:52:35 +0000 (08:52 +0000)]
Updated Slovak translation by Pavol Šimo.
2008-01-31 Marcel Telka <marcel@telka.sk>
* sk.po: Updated Slovak translation by Pavol Šimo.
svn path=/trunk/; revision=19443
Djihed Afifi [Thu, 31 Jan 2008 08:21:12 +0000 (08:21 +0000)]
Updated Arabic Translation by Khaled Hosny.
svn path=/trunk/; revision=19440
Nikos Charonitakis [Thu, 31 Jan 2008 00:40:10 +0000 (00:40 +0000)]
Updated Greek translation
svn path=/trunk/; revision=19439
Nikos Charonitakis [Thu, 31 Jan 2008 00:36:34 +0000 (00:36 +0000)]
Updated Greek translation
svn path=/trunk/; revision=19438
Daniel Nylander [Wed, 30 Jan 2008 23:55:52 +0000 (23:55 +0000)]
sv.po: Updated Swedish translation
svn path=/trunk/; revision=19434
Sven Neumann [Wed, 30 Jan 2008 19:51:30 +0000 (19:51 +0000)]
gdk/directfb/gdkdrawable-directfb.c gdk/directfb/gdkwindow-directfb.c
2008-01-30 Sven Neumann <sven@gimp.org>
* gdk/directfb/gdkdrawable-directfb.c
* gdk/directfb/gdkwindow-directfb.c
* gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
Oliver Kropp <dok@directfb.org>. Adds debug messages using
DirectFB's debugging system
svn path=/trunk/; revision=19433
Sven Neumann [Wed, 30 Jan 2008 19:43:16 +0000 (19:43 +0000)]
gdk/directfb/gdkdirectfb.h gdk/directfb/gdkdisplay-directfb.c
2008-01-30 Sven Neumann <sven@gimp.org>
* gdk/directfb/gdkdirectfb.h
* gdk/directfb/gdkdisplay-directfb.c
* gdk/directfb/gdkdrawable-directfb.c
* gdk/directfb/gdkim-directfb.c
* gdk/directfb/gdkimage-directfb.c
* gdk/directfb/gdkinput-directfb.c
* gdk/directfb/gdkmain-directfb.c
* gdk/directfb/gdkpixmap-directfb.c
* gdk/directfb/gdktestutils-directfb.c
* gdk/directfb/gdkvisual-directfb.c
* gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
errors and has some cleanups.
svn path=/trunk/; revision=19432
Michael Natterer [Wed, 30 Jan 2008 15:06:06 +0000 (15:06 +0000)]
use the right type for "subparser_data" and remove the (gpointer*) cast.
2008-01-30 Michael Natterer <mitch@imendio.com>
* gtk/gtkbuilderparser.c (parse_custom): use the right type for
"subparser_data" and remove the (gpointer*) cast. Fixes bogus
aliasing warning.
* gtk/updateiconcache.c (add_string): cast const gchar* to
gpointer when inserting in a GHashTable.
* tests/testcalendar.c (calendar_detail_cb): remove const from
return value since it's a newly allocated string.
(calendar_update_details): free the detail.
svn path=/trunk/; revision=19431
Johan Dahlin [Tue, 29 Jan 2008 14:18:22 +0000 (14:18 +0000)]
Remove commas
svn path=/trunk/; revision=19427
Johan Dahlin [Tue, 29 Jan 2008 14:12:08 +0000 (14:12 +0000)]
Move the about dialog to the glade file, add accessible tags examples to
2008-01-29 Johan Dahlin <johan@gnome.org>
* demos/gtk-demo/builder.c: (quit_activate), (about_activate),
(do_builder):
* demos/gtk-demo/demo.ui:
Move the about dialog to the glade file, add accessible tags
examples to the markup file.
svn path=/trunk/; revision=19426
Paolo Borelli [Mon, 28 Jan 2008 16:06:16 +0000 (16:06 +0000)]
do not leak the pango layout, fixes #512375.
2008-01-28 Paolo Borelli <pborelli@katamail.com>
* gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
layout, fixes #512375.
svn path=/trunk/; revision=19419
Michael Natterer [Mon, 28 Jan 2008 15:16:13 +0000 (15:16 +0000)]
gtk/gtktextchild.c meant to use G_STRFUNC, not G_STRLOC...
2008-01-28 Michael Natterer <mitch@imendio.com>
* gtk/gtktextchild.c
* gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
svn path=/trunk/; revision=19418
Michael Natterer [Mon, 28 Jan 2008 13:05:15 +0000 (13:05 +0000)]
use gtk_about_dialog_set_program_name() instead of the deprecated
2008-01-28 Michael Natterer <mitch@imendio.com>
* demos/gtk-demo/builder.c (about_activate): use
gtk_about_dialog_set_program_name() instead of the deprecated
set_name().
svn path=/trunk/; revision=19417
Michael Natterer [Mon, 28 Jan 2008 13:01:01 +0000 (13:01 +0000)]
gtk/gtktextchild.c use G_STRLOC instead of G_GNUC_FUNCTION (which is
2008-01-28 Michael Natterer <mitch@imendio.com>
* gtk/gtktextchild.c
* gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
is deprecated now).
svn path=/trunk/; revision=19416
Mohammad DAMT [Sun, 27 Jan 2008 23:17:42 +0000 (23:17 +0000)]
Updated Indonesian translation by Muhammad Hilman hilman09121991 at
2008-01-28 Mohammad DAMT <mdamt@mnots.eu>
* id.po: Updated Indonesian translation by Muhammad Hilman
hilman09121991 at yahoo.com
svn path=/trunk/; revision=19415
Maxim V. Dziumanenko [Sun, 27 Jan 2008 22:01:32 +0000 (22:01 +0000)]
svn path=/trunk/; revision=19414
svn path=/trunk/; revision=19414
Djihed Afifi [Sun, 27 Jan 2008 16:05:44 +0000 (16:05 +0000)]
Updated Arabic Translation by Khaled Hosny.
svn path=/trunk/; revision=19413
Ihar Hrachyshka [Sun, 27 Jan 2008 15:11:47 +0000 (15:11 +0000)]
Reverted updated Belarusian translation..
svn path=/trunk/; revision=19411
Johan Dahlin [Sat, 26 Jan 2008 12:22:33 +0000 (12:22 +0000)]
Rename textbuffer test and port it to the new test framework
2008-01-26 Johan Dahlin <johan@gnome.org>
* tests/Makefile.am:
* tests/textbuffertest.c:
Rename textbuffer test and port it to the new test framework
svn path=/trunk/; revision=19410
Petr Kovář [Fri, 25 Jan 2008 20:11:24 +0000 (20:11 +0000)]
cs.po: Updated Czech translation.
svn path=/trunk/; revision=19408
Johan Dahlin [Fri, 25 Jan 2008 18:42:16 +0000 (18:42 +0000)]
Restore accidentally removed unsetting of GTK_MODULES.
2008-01-25 Johan Dahlin <johan@gnome.org>
* gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
unsetting of GTK_MODULES.
svn path=/trunk/; revision=19406
Johan Dahlin [Fri, 25 Jan 2008 18:23:10 +0000 (18:23 +0000)]
Handle the case where there is no child text node. (GtkBuilderConverter):
2008-01-25 Johan Dahlin <johan@gnome.org>
* gtk/gtk-builder-convert
(GtkBuilderConverter._convert_adjustment): Handle the case where
there is no child text node.
(GtkBuilderConverter): Allow xml comments in most places.
svn path=/trunk/; revision=19405
Johan Dahlin [Fri, 25 Jan 2008 18:00:15 +0000 (18:00 +0000)]
Remove the items even if there are no items set.
2008-01-25 Johan Dahlin <johan@gnome.org>
* gtk/gtk-builder-convert
(GtkBuilderConverter._convert_combobox_items): Remove the items
even if there are no items set.
(GtkBuilderConverter._add_action_from_menuitem): Convert toggled
signals and tooltips for all menu items subclasses and
GtkImageMenuItem:label.
Makes it possible to fully convert and run Jokosher.glade.
svn path=/trunk/; revision=19404
Johan Dahlin [Fri, 25 Jan 2008 16:17:38 +0000 (16:17 +0000)]
Implement accessible support, fixes #454653.
2008-01-25 Johan Dahlin <johan@gnome.org>
* gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
(gtk_widget_buildable_get_internal_child), (free_action),
(free_relation), (gtk_widget_buildable_parser_finished),
(accessibility_start_element),
(gtk_widget_buildable_custom_tag_start),
(gtk_widget_buildable_custom_finished):
Implement accessible support, fixes #454653.
* gtk/gtk-builder-convert:
Add support for migrating old glade files
* tests/buildertest.c: (test_widget), (test_file):
Add accessible tests and improve the test_file function to display
toplevels and run dialogs.
svn path=/trunk/; revision=19403
Richard Hult [Fri, 25 Jan 2008 13:19:02 +0000 (13:19 +0000)]
Don't recreate a tracking rect if it didn't change, fixes focus event
2008-01-25 Richard Hult <richard@imendio.com>
* gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
didn't change, fixes focus event issues for undecorated windows.
svn path=/trunk/; revision=19402
Richard Hult [Fri, 25 Jan 2008 13:13:05 +0000 (13:13 +0000)]
Fix compile warnings (add missing const and remove unused variables).
2008-01-25 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
const and remove unused variables).
svn path=/trunk/; revision=19401
Michael Natterer [Fri, 25 Jan 2008 09:31:34 +0000 (09:31 +0000)]
Forgot to mention bug #.
svn path=/trunk/; revision=19400
Michael Natterer [Fri, 25 Jan 2008 09:30:40 +0000 (09:30 +0000)]
gtk/gtkbutton.h gtk/gtkcellrenderer.h gtk/gtkimcontext.h gtk/gtkstyle.h
2008-01-25 Michael Natterer <mitch@imendio.com>
* gtk/gtkbutton.h
* gtk/gtkcellrenderer.h
* gtk/gtkimcontext.h
* gtk/gtkstyle.h
* gtk/gtktoolbar.h
* gtk/gtktooltip.h
* gtk/gtktreeprivate.h
* gtk/gtktreeviewcolumn.h
* gtk/gtkwidget.h: add const to constant structs which are passed
into GTK+. Also add some forgotten const for const strings.
* gtk/gtkbutton.c
* gtk/gtkcellrenderer.c
* gtk/gtkimcontext.c
* gtk/gtkstyle.c
* gtk/gtktoolbar.c
* gtk/gtktooltip.c
* gtk/gtktreeview.c
* gtk/gtktreeviewcolumn.c
* gtk/gtkwidget.c: changed accordingly.
svn path=/trunk/; revision=19399
Stéphane Raimbault [Fri, 25 Jan 2008 08:14:28 +0000 (08:14 +0000)]
Synced with gtk-2-12.
2008-01-25 Stéphane Raimbault <stephane.raimbault@gmail.com>
* fr.po: Synced with gtk-2-12.
svn path=/trunk/; revision=19398
Sven Herzberg [Fri, 25 Jan 2008 00:19:18 +0000 (00:19 +0000)]
Reviewed by Johan Dahlin.
2008-01-25 Sven Herzberg <sven@imendio.com>
Reviewed by Johan Dahlin.
* gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
this is called with something that's not a GtkUIManager
svn path=/trunk/; revision=19395
Johan Dahlin [Thu, 24 Jan 2008 16:38:50 +0000 (16:38 +0000)]
Chain up to parent, so widgets can have internal children.
2008-01-24 Johan Dahlin <johan@gnome.org>
* gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
Chain up to parent, so widgets can have internal children.
svn path=/trunk/; revision=19394
Mathias Hasselmann [Tue, 22 Jan 2008 19:29:18 +0000 (19:29 +0000)]
Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
IWAMOTO).
* gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
svn path=/trunk/; revision=19393
Mathias Hasselmann [Tue, 22 Jan 2008 15:03:03 +0000 (15:03 +0000)]
Use pango_layout_set_height() for calendar details (#506049).
* configure.in: Require 1.19.3 for pango_layout_set_height().
* gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
svn path=/trunk/; revision=19392
Marcel Telka [Tue, 22 Jan 2008 00:11:20 +0000 (00:11 +0000)]
Updated Slovak translation.
2008-01-22 Marcel Telka <marcel@telka.sk>
* sk.po: Updated Slovak translation.
svn path=/trunk/; revision=19391
Ihar Hrachyshka [Mon, 21 Jan 2008 00:07:07 +0000 (00:07 +0000)]
Updated Belarusian translation, converted spelling.
svn path=/trunk/; revision=19389
Yang Zhang [Sat, 19 Jan 2008 13:52:53 +0000 (13:52 +0000)]
Updated zh_CN translation from manphiz
svn path=/trunk/; revision=19386
Yang Zhang [Sat, 19 Jan 2008 13:51:39 +0000 (13:51 +0000)]
Updated zh_CN translation from manphiz
svn path=/trunk/; revision=19385
Johan Dahlin [Fri, 18 Jan 2008 16:09:26 +0000 (16:09 +0000)]
New method (GtkBuilderConverter._create_object): Conditionally take a node
2008-01-18 Johan Dahlin <johan@gnome.org>
* gtk/gtk-builder-convert (get_property_node): New method
(GtkBuilderConverter._create_object): Conditionally take a node as
a property value, so don't lose translate/context attributes if they
are set.
(GtkBuilderConverter._add_action_from_menuitem): Send in Node as
property values instead of strings.
(#509153, Erik van Pienbroek)
svn path=/trunk/; revision=19383
Mathias Hasselmann [Thu, 17 Jan 2008 16:42:04 +0000 (16:42 +0000)]
Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
* gtk/gtkcalendar.c: Release the memory returned by the detail_func.
* gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
* tests/testcalendar.c: Duplicate calendar details before returning.
svn path=/trunk/; revision=19382
Christian Persch [Wed, 16 Jan 2008 19:14:49 +0000 (19:14 +0000)]
Store the event mask and extension event mode directly in the gobject data
* gtk/gtkwidget.c: Store the event mask and extension event mode
directly in the gobject data pointer, instead of in an allocated
gint. Bug #506604.
svn path=/trunk/; revision=19381
Matthias Clasen [Wed, 16 Jan 2008 17:38:13 +0000 (17:38 +0000)]
Handle partial writes.
2008-01-15 Matthias Clasen <mclasne@redhat.com>
* gdk-pixbuf-io.c (save_to_stream): Handle partial writes.
svn path=/trunk/; revision=19380
Rahul Bhalerao [Wed, 16 Jan 2008 14:53:18 +0000 (14:53 +0000)]
Updated Marathi translations
svn path=/trunk/; revision=19379
Michael Natterer [Wed, 16 Jan 2008 14:35:46 +0000 (14:35 +0000)]
fix signature of this function and propagate errors from
2008-01-16 Michael Natterer <mitch@imendio.com>
* gdk-pixbuf-io.c (save_to_stream): fix signature of this function
and propagate errors from g_output_stream_write(). Return error
also on incomplete writes (which don't generate an error by
themselves).
Unrelated:
(gdk_pixbuf_io_init): initialize "builtin_module" on a separate
line to avoid compiler warning in the common case of no built-in
modules.
svn path=/trunk/; revision=19378
Michael Natterer [Wed, 16 Jan 2008 13:30:06 +0000 (13:30 +0000)]
use $GDK_PIXBUF_DEP_LIBS instead of $GLIB_LIBS so gio gets pulled in.
2008-01-16 Michael Natterer <mitch@imendio.com>
* Makefile.am (LDADDS): use $GDK_PIXBUF_DEP_LIBS instead of
$GLIB_LIBS so gio gets pulled in.
svn path=/trunk/; revision=19377
Michael Natterer [Wed, 16 Jan 2008 13:29:34 +0000 (13:29 +0000)]
add "gio-2.0" because gdk-pixbuf now uses gio functions.
2008-01-16 Michael Natterer <mitch@imendio.com>
* configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
gdk-pixbuf now uses gio functions.
svn path=/trunk/; revision=19376
Matthias Clasen [Wed, 16 Jan 2008 05:25:35 +0000 (05:25 +0000)]
Emit the notify::model signal. (#509819, David Zeuthen)
2008-01-16 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
the notify::model signal. (#509819, David Zeuthen)
svn path=/trunk/; revision=19374
Matthias Clasen [Wed, 16 Jan 2008 02:24:47 +0000 (02:24 +0000)]
Add stream i/o functions for gdk-pixbuf
svn path=/trunk/; revision=19373
Michael Natterer [Tue, 15 Jan 2008 15:32:37 +0000 (15:32 +0000)]
gdk/gdkdisplay.h gdk/gdkdrawable.h gdk/gdkevents.h gdk/gdkpango.h
2008-01-15 Michael Natterer <mitch@imendio.com>
* gdk/gdkdisplay.h
* gdk/gdkdrawable.h
* gdk/gdkevents.h
* gdk/gdkpango.h
* gdk/gdkregion.h
* gdk/gdkrgb.h
* gdk/gdkwindow.h: made more struct pointer and array parameters
const. GDK should now be constified as far as possible without
breaking source compatibility. Includes some minor cleanup like
indentation and s/nfoo/n_foo/ (bug #508544).
* gdk/gdkdisplay.c
* gdk/gdkdraw.c
* gdk/gdkevents.c
* gdk/gdkpango.c
* gdk/gdkregion-generic.c
* gdk/gdkrgb.c
* gdk/directfb/gdkdisplay-directfb.c
* gdk/directfb/gdkwindow-directfb.c
* gdk/quartz/gdkdisplay-quartz.c
* gdk/quartz/gdkwindow-quartz.c
* gdk/win32/gdkdisplay-win32.c
* gdk/win32/gdkwindow-win32.c
* gdk/x11/gdkdisplay-x11.c
* gdk/x11/gdkwindow-x11.c: changed accordingly.
svn path=/trunk/; revision=19372
Michael Natterer [Mon, 14 Jan 2008 17:07:03 +0000 (17:07 +0000)]
add cast to fix const warning.
2008-01-14 Michael Natterer <mitch@imendio.com>
* gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
const warning.
(gtk_rc_parse_any): change variables to const and introduce
another local variable to fix const warnings.
svn path=/trunk/; revision=19371
Michael Natterer [Mon, 14 Jan 2008 15:00:57 +0000 (15:00 +0000)]
cast the return value of gdk_screen_get_font_options() to gpointer to get
2008-01-14 Michael Natterer <mitch@imendio.com>
* gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
of gdk_screen_get_font_options() to gpointer to get rid of const
warning.
svn path=/trunk/; revision=19370
Michael Natterer [Mon, 14 Jan 2008 14:34:07 +0000 (14:34 +0000)]
fix another call to gtk_selection_data_set().
2008-01-14 Michael Natterer <mitch@imendio.com>
* tests/testdnd.c (source_drag_data_get): fix another call to
gtk_selection_data_set().
svn path=/trunk/; revision=19369
Michael Natterer [Mon, 14 Jan 2008 14:22:59 +0000 (14:22 +0000)]
fix signedness warning.
2008-01-14 Michael Natterer <mitch@imendio.com>
* gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
signedness warning.
svn path=/trunk/; revision=19368
Michael Natterer [Mon, 14 Jan 2008 14:19:21 +0000 (14:19 +0000)]
remove unused variable.
2008-01-14 Michael Natterer <mitch@imendio.com>
* gtk/gtkiconcache.c (find_image_offset): remove unused variable.
svn path=/trunk/; revision=19367
Michael Natterer [Mon, 14 Jan 2008 14:17:26 +0000 (14:17 +0000)]
cast "uris" to guchar* when passing it to gtk_selection_data_set().
2008-01-14 Michael Natterer <mitch@gimp.org>
* gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
"uris" to guchar* when passing it to gtk_selection_data_set().
svn path=/trunk/; revision=19366
Michael Natterer [Mon, 14 Jan 2008 14:02:12 +0000 (14:02 +0000)]
gdk/gdk.h gdk/gdkcairo.h gdk/gdkcolor.h gdk/gdkgc.h gdk/gdkinternals.h
2008-01-14 Michael Natterer <mitch@imendio.com>
* gdk/gdk.h
* gdk/gdkcairo.h
* gdk/gdkcolor.h
* gdk/gdkgc.h
* gdk/gdkinternals.h
* gdk/gdkregion.h
* gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
parameters const.
* gdk/gdkcairo.c
* gdk/gdkgc.c
* gdk/gdkwindow.c
* gdk/gdkrectangle.c
* gdk/gdkpolyreg-generic.c
* gdk/gdkregion-generic.c
* gdk/directfb/gdkcolor-directfb.c
* gdk/directfb/gdkgc-directfb.c
* gdk/directfb/gdkgeometry-directfb.c
* gdk/directfb/gdkwindow-directfb.c
* gdk/quartz/gdkcolor-quartz.c
* gdk/quartz/gdkgc-quartz.c
* gdk/quartz/gdkgeometry-quartz.c
* gdk/quartz/gdkwindow-quartz.c
* gdk/win32/gdkcolor-win32.c
* gdk/win32/gdkgc-win32.c
* gdk/win32/gdkgeometry-win32.c
* gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkwindow-win32.c
* gdk/x11/gdkcolor-x11.c
* gdk/x11/gdkgc-x11.c
* gdk/x11/gdkgeometry-x11.c
* gdk/x11/gdkmain-x11.c
* gdk/x11/gdkprivate-x11.h
* gdk/x11/gdkwindow-x11.c: changed accordingly.
* gdk/gdkpolyreg-generic.c: uncruftify to have proper function
headers.
svn path=/trunk/; revision=19365
Michael Natterer [Mon, 14 Jan 2008 11:30:34 +0000 (11:30 +0000)]
cast the return value of _gdk_pixbuf_scaled_anim_new() to fix incompatible
2008-01-14 Michael Natterer <mitch@imendio.com>
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_prepare): cast the return
value of _gdk_pixbuf_scaled_anim_new() to fix incompatible pointer
warning.
svn path=/trunk/; revision=19364
Mathias Hasselmann [Mon, 14 Jan 2008 00:12:53 +0000 (00:12 +0000)]
Explain name choice for gtk_tool_item_toolbar_reconfigured.
* gtk/gtktoolitem.c: Add comment expaining name choice for
gtk_tool_item_toolbar_reconfigured.
svn path=/trunk/; revision=19362
Mathias Hasselmann [Sun, 13 Jan 2008 23:41:46 +0000 (23:41 +0000)]
Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
implementations to notify its children, when some aspect of their
configuration changed (#509042).
* gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
* gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
Rename _gtk_tool_item_toolbar_reconfigured.
svn path=/trunk/; revision=19361
Erdal Ronahi [Sun, 13 Jan 2008 19:13:23 +0000 (19:13 +0000)]
Kurdish translation completed
svn path=/trunk/; revision=19360
Erdal Ronahi [Sun, 13 Jan 2008 18:33:53 +0000 (18:33 +0000)]
Corrected buggy translation
svn path=/trunk/; revision=19359
Erdal Ronahi [Sun, 13 Jan 2008 11:44:45 +0000 (11:44 +0000)]
Updated translations
svn path=/trunk/; revision=19358
Erdal Ronahi [Sun, 13 Jan 2008 04:43:46 +0000 (04:43 +0000)]
Corrected buggy translations (with translated |)
svn path=/trunk/; revision=19357
Mathias Hasselmann [Sat, 12 Jan 2008 22:45:14 +0000 (22:45 +0000)]
Include <gtk/gtktoolshell.h> from gtk.h.
* gtk/gtk.h: Add gtktoolshell.h
svn path=/trunk/; revision=19356
Mathias Hasselmann [Sat, 12 Jan 2008 11:10:14 +0000 (11:10 +0000)]
Print angle brackets arround e-mail addresses in the about dialog
(#409520, Mariano Suárez-Alvarez).
* gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
svn path=/trunk/; revision=19354
Djihed Afifi [Sat, 12 Jan 2008 01:06:50 +0000 (01:06 +0000)]
Updated Arabic Translation by Khaled Hosny. . Also QA'ed by Khaled.
svn path=/trunk/; revision=19353
13:28:02 Tim Janik [Fri, 11 Jan 2008 12:29:29 +0000 (12:29 +0000)]
removed old testutils special casing so test widgets are always queues for
2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
* gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
special casing so test widgets are always queues for destruction
during teardown.
* gtk/tests/testing.c: removed bits left-over from testing without
gtestutils.h.
svn path=/trunk/; revision=19352
Li Yuan [Fri, 11 Jan 2008 09:58:34 +0000 (09:58 +0000)]
Bug #508255. Remove ATK_STATE_FOCUSED state when focus jumps out. Emit
2008-01-11 Li Yuan <li.yuan@sun.com>
* gailtreeview.c: (gail_tree_view_real_initialize), (focus_in),
(focus_out):
Bug #508255. Remove ATK_STATE_FOCUSED state when focus jumps out.
Emit "active-descendant-changed" and add ATK_STATE_FOCUSED state when
focus comes in again.
svn path=/trunk/; revision=19351
Li Yuan [Fri, 11 Jan 2008 09:48:23 +0000 (09:48 +0000)]
Bug #497218. Emit "active-descendant-changed" when focus first comes into
2008-01-11 Li Yuan <li.yuan@sun.com>
* gailtreeview.c: (gail_tree_view_ref_child),
(idle_cursor_changed):
Bug #497218. Emit "active-descendant-changed" when focus first comes
into treeview. Add/remove ATK_STATE_FOCUSED when cursor changes.
svn path=/trunk/; revision=19350
Li Yuan [Fri, 11 Jan 2008 09:22:25 +0000 (09:22 +0000)]
Bug #508715. Should use gtk_tree_path_free to free a GtkTreePath.
2008-01-11 Li Yuan <li.yuan@sun.com>
* gailtreeview.c: (gail_tree_view_get_n_rows):
Bug #508715. Should use gtk_tree_path_free to free a GtkTreePath.
svn path=/trunk/; revision=19349
Tor Lillqvist [Thu, 10 Jan 2008 21:47:58 +0000 (21:47 +0000)]
modules/other/gail/libgail-util/Makefile.am Link with gtktargetlib and
2008-01-10 Tor Lillqvist <tml@novell.com>
* modules/other/gail/libgail-util/Makefile.am
* modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
gdktargetlib.
svn path=/trunk/; revision=19348
Tor Lillqvist [Thu, 10 Jan 2008 21:46:25 +0000 (21:46 +0000)]
Build defaultvaluetest only on Unix as it uses gtkprintunixdialog API.
2008-01-10 Tor Lillqvist <tml@novell.com>
* tests/Makefile.am: Build defaultvaluetest only on Unix as it
uses gtkprintunixdialog API.
svn path=/trunk/; revision=19347
Tor Lillqvist [Thu, 10 Jan 2008 21:40:48 +0000 (21:40 +0000)]
gdk/win32/gdkdisplay-win32.c gdk/win32/gdkglobals-win32.c
2008-01-10 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkdisplay-win32.c
* gdk/win32/gdkglobals-win32.c
* gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkscreen-win32.c
* gdk/win32/gdkwindow-win32.c: Implement
gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
Iwamoto. (#505753)
svn path=/trunk/; revision=19346
Cody Russell [Thu, 10 Jan 2008 20:58:40 +0000 (20:58 +0000)]
Properly ref/unref windows and parents. (#506769)
2008-01-10 Cody Russell <bratsche@gnome.org>
* gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
Properly ref/unref windows and parents. (#506769)
svn path=/trunk/; revision=19344
Richard Hult [Thu, 10 Jan 2008 19:35:53 +0000 (19:35 +0000)]
Move the tracking rect workaround from here...
2008-01-10 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
(gdk_window_hide), (move_resize_window_internal): Move the
tracking rect workaround from here...
* gdk/quartz/GdkQuartzWindow.c:
* gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
movements during showing/hiding operations. Fixes bug #508516.
svn path=/trunk/; revision=19342
Sven Neumann [Thu, 10 Jan 2008 19:04:02 +0000 (19:04 +0000)]
corrected documentation for GtkEditable::delete-text.
2008-01-10 Sven Neumann <sven@gimp.org>
* gtk/tmpl/gtkeditable.sgml: corrected documentation for
GtkEditable::delete-text.
svn path=/trunk/; revision=19341
Michael Natterer [Thu, 10 Jan 2008 17:04:45 +0000 (17:04 +0000)]
add these functions to make it build again.
2008-01-10 Michael Natterer <mitch@imendio.com>
* gdk/directfb/gdkscreen-directfb.c
(gdk_screen_get_monitor_width_mm)
(gdk_screen_get_monitor_height_mm)
(gdk_screen_get_monitor_plug_name): add these functions to make
it build again.
svn path=/trunk/; revision=19340
Emmanuele Bassi [Thu, 10 Jan 2008 14:27:54 +0000 (14:27 +0000)]
Fix possible recursion by resetting the idle source id. (#507605, William
2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkrecentchoosermenu.c:
(idle_populate_func), (idle_populate_clean_up): Fix possible
recursion by resetting the idle source id. (#507605, William
Pitcock)
svn path=/trunk/; revision=19339
Kristian Rietveld [Thu, 10 Jan 2008 10:13:28 +0000 (10:13 +0000)]
fully initialize GdkWindowAttr to avoid valgrind warnings. (#507751, patch
2008-01-10 Kristian Rietveld <kris@imendio.com>
* gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
(_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
avoid valgrind warnings. (#507751, patch from Christian Persch).
svn path=/trunk/; revision=19333
Kristian Rietveld [Thu, 10 Jan 2008 09:27:40 +0000 (09:27 +0000)]
Fix a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
2008-01-10 Kristian Rietveld <kris@imendio.com>
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
svn path=/trunk/; revision=19332
Kristian Rietveld [Thu, 10 Jan 2008 09:24:11 +0000 (09:24 +0000)]
Fix #477175, reported by Juri Pakaste.
2008-01-10 Kristian Rietveld <kris@imendio.com>
Fix #477175, reported by Juri Pakaste.
* gtk/gtktreeprivate.h:
* gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
tree_view->priv->dy here directly, just calculate the new value
and set it on the adjustment,
(gtk_tree_view_adjustment_changed): add guards to not call
gtk_tree_view_dy_to_top_row() if we are currently in
gtk_tree_view_top_row_to_dy(),
(gtk_tree_view_put): fix coordinate annotation: these are bin_window
coordinates, not tree coordinates,
(gtk_tree_view_real_start_editing): add cast.
* gtk/tests/treeview-scrolling.c: add an assertion for checking the
position of the editable in the "create new row and start editing"
tests.
svn path=/trunk/; revision=19331
Michael Natterer [Wed, 9 Jan 2008 17:02:50 +0000 (17:02 +0000)]
remove unused variable.
2008-01-09 Michael Natterer <mitch@imendio.com>
* gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
variable.
* gtk/gtkcombobox.c (gtk_combo_box_detacher)
* gtk/gtkicontheme.c (theme_list_contexts)
(gtk_icon_theme_lookup_icon)
* gtk/gtkimcontextsimple.c (beep_window)
* gtk/gtklinkbutton.c (set_link_color)
* gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
fix warnings.
* gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
variable and add const to another to fix a warning.
svn path=/trunk/; revision=19330
Matthias Clasen [Tue, 8 Jan 2008 03:50:29 +0000 (03:50 +0000)]
Be more robust when removing the current page. (#499951, Andreas Sandberg)
2008-01-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkassistant.c (remove_page): Be more robust when removing
the current page. (#499951, Andreas Sandberg)
svn path=/trunk/; revision=19321
Priit Laes [Mon, 7 Jan 2008 11:13:42 +0000 (11:13 +0000)]
Translation updated by Ivar Smolin
2008-01-07 Priit Laes <plaes at svn dot gnome dot org>
* et.po: Translation updated by Ivar Smolin
svn path=/trunk/; revision=19320
Johan Dahlin [Mon, 7 Jan 2008 01:26:39 +0000 (01:26 +0000)]
Declare value in the example code for GtkSpinButton::output, as pointed
2008-01-06 Johan Dahlin <johan@gnome.org>
* gtk/gtkspinbutton.c: Declare value in the example code for
GtkSpinButton::output, as pointed out by Anders Carlsson.
svn path=/trunk/; revision=19319
Christian Persch [Sun, 6 Jan 2008 23:09:24 +0000 (23:09 +0000)]
Make the labels left-aligned, and remove an obsolete event box. Bug
2008-01-06 Christian Persch <chpe@gnome.org>
* gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
and remove an obsolete event box. Bug #506760.
svn path=/trunk/; revision=19318
Johan Dahlin [Sun, 6 Jan 2008 15:20:40 +0000 (15:20 +0000)]
Update, GtkBuilder::translation-domain is no longer set
2008-01-06 Johan Dahlin <johan@gnome.org>
* tests/buildertest.c (test_domain):
Update, GtkBuilder::translation-domain is no longer set
svn path=/trunk/; revision=19317
Johan Dahlin [Sun, 6 Jan 2008 15:17:26 +0000 (15:17 +0000)]
Allow domains to be overridden in <interface>'s if a translation-domain is
2008-01-06 Johan Dahlin <johan@gnome.org>
* gtk/gtkbuilderparser.c (parse_interface):
Allow domains to be overridden in <interface>'s if a translation-domain
is set in the builder.
(_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
of the builder, make the domain set in the <interface> apply only to strings
in that interface.
(#496831, Ryan Lortie)
svn path=/trunk/; revision=19316
Johan Dahlin [Sun, 6 Jan 2008 15:06:55 +0000 (15:06 +0000)]
Avoid adding unnecessary trailing newlines to g_warning calls.
2008-01-06 Johan Dahlin <johan@gnome.org>
* gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
to g_warning calls.
svn path=/trunk/; revision=19315
Johan Dahlin [Sun, 6 Jan 2008 14:58:57 +0000 (14:58 +0000)]
Remove an unused variable
* gtk/gtktreestore.c (tree_model_end_element):
Remove an unused variable
svn path=/trunk/; revision=19314